//
//  CommentaryDataHandle.h
//  LOLProject
//
//  Created by lanou3g on 15/5/30.
//  Copyright (c) 2015年 lanou3g.com蓝欧科技. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "DMXY.h"
#import "Commentary.h"
#import "Hero.h"

//重名block,此类block用来传值
typedef void(^DMXYBlock)(NSMutableArray * array);

@interface CommentaryDataHandle : NSObject

@property (nonatomic,copy) DMXYBlock gameCommentaryBlock;
@property (nonatomic,copy) DMXYBlock dMXYBlock;
@property (nonatomic,copy) DMXYBlock heroVideoBlock;

//创建解说页面的单例
+ (CommentaryDataHandle *) sharedInstance;

//从网上请求数据
- (void) requestCommentaryData:(NSInteger) selectedSegmentIndex;

//从网上请求游戏解说数据
- (void) requestCommentaryDataGameCommentary;

//从网上请求英雄视频数据
- (void) requestCommentaryDataHeroVideo;

//从网上请求德玛西亚数据
- (void) requestCommentaryDataDMXY;

@end
